@import 'antd/es/style/themes/default.less';
.file-item {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  justify-content: space-between;

  padding: 12px;

  cursor: pointer;
  &.active,
  &:hover {
    .file-title {
      color: #fff;
    }
    .file-info {
      color: #fff;
    }
    .file-operate {
      color: #fff;
    }
  }
  &:hover {
    color: #fff !important;
    background-color: @primary-2;
  }
  &.active {
    color: #fff !important;
    background-color: @primary-color;
  }
}
.file-title {
  font-size: @font-size-base;
  line-height: 24px;

  color: @heading-color;
}
.file-info {
  font-size: @font-size-base;

  display: flex;
  align-items: center;
  flex-direction: row;
  flex-shrink: 0;
  justify-content: flex-end;

  width: 88px;
  height: 24px;

  color: @text-color-secondary;
}
.file-operate {
  font-size: @font-size-lg;
  line-height: 24px;

  display: inline-block;

  width: 24px;
  height: 24px;
  margin-left: 12px;

  cursor: pointer;
  text-align: center;

  color: @heading-color;
}
.lack {
  font-size: 12px;
  color: red;
}